//
//  MessageTableViewCell.m
//  MyFramework
//
//  Created by 余洋 on 2018/8/10.
//  Copyright © 2018年 余洋. All rights reserved.
//

#import "MessageTableViewCell.h"

@interface MessageTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation MessageTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(MessageTableViewModel *)model {
    if (model) {
        _model = model;
        self.titleLabel.text = model.title;
    }
}

@end
